﻿using System;
using System.Collections.Generic;
using System.Text;
using Validate.Library;

namespace Project.Model
{
    /// <summary>
    /// 修改补助请求信息
    /// </summary>
    public class SalarySubsidyRequest
    {
        /// <summary>
        /// 唯一标识符
        /// </summary>
        [Validate(ValidateType.NotEmpty, Regex = ValidateRegex.Number, Description = "唯一标识符")]
        public int ID { get; set; }


        /// <summary>
        /// 交通补贴
        /// </summary>
        [Validate(ValidateType.NotEmpty, Regex = ValidateRegex.Decimal, Description = "交通补贴")]
        public decimal CarBT { get; set; }

        /// <summary>
        /// 电话补贴
        /// </summary>
        [Validate(ValidateType.NotEmpty, Regex = ValidateRegex.Decimal, Description = "电话补贴")]
        public decimal PhoneBT { get; set; }


        /// <summary>
        /// 奖金补贴
        /// </summary>
        [Validate(ValidateType.NotEmpty, Regex = ValidateRegex.Decimal, Description = "奖金补贴")]
        public decimal BonusBT { get; set; }

        /// <summary>
        /// 其他补贴1
        /// </summary>
        [Validate(ValidateType.NotEmpty, Regex = ValidateRegex.Decimal, Description = "其他补贴1")]
        public decimal OtherBT1 { get; set; }

        /// <summary>
        /// 其他补贴2
        /// </summary>
        [Validate(ValidateType.NotEmpty, Regex = ValidateRegex.Decimal, Description = "其他补贴2")]
        public decimal OtherBT2 { get; set; }


    }
}
